<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<%@ include file="/WEB-INF/include/common/common-header.jspf"%>
		<title>${siteName} - 新增角色</title>
		<%@ include file="/WEB-INF/include/admin/common-admin-header.jspf"%>
	</head>
	<body class="pd15">
	
		<form class="layui-form" method="post" action="${ctx}/admin/sys/role/add.html">
			<div class="layui-form-item">
				<label class="layui-form-label">角色代码</label>
				<div class="layui-input-block">
					<input type="text" name="roleCode" lay-verify="required" placeholder="请输入角色代码" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">角色名称</label>
				<div class="layui-input-block">
					<input type="text" name="roleName" lay-verify="required" placeholder="请输入角色名称" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">角色描述</label>
				<div class="layui-input-block">
					<textarea name="other" name="roleDesc" placeholder="请输入角色描述" class="layui-textarea"></textarea>
				</div>
			</div>
			<div class="layui-form-item layui-layout-admin">
				<div class="layui-input-block">
					<div class="layui-footer" style="left: 0;">
						<button class="layui-btn" lay-submit="" lay-filter="addRole">立即提交</button>
						<button type="reset" class="layui-btn layui-btn-primary">重置</button>
					</div>
				</div>
			</div>
		</form>
	
		<%@ include file="/WEB-INF/include/common/common-footer.jspf"%>
		<script>
			layui.use('form', function() {
				var form = layui.form;
			});
		</script>
		<script src="${ctx}/js/admin/sys/role/add.js?r=<%=Math.random()%>"></script>
	</body>
</html>